﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkFlowView.aspx.cs" Inherits="WebPubManager_WorkFlowView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>办理流程</title>
    <link href="../css/page.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        function ViewInstanceFrm(Instance) {
            var strURL = "../office/viewworkflow.aspx?IID=" + Instance;
            window.location.href = strURL;
        }

    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tr align="center">
                <td colspan="2">
                    <asp:RadioButtonList ID="rblFlow" runat="server" AutoPostBack="True" OnSelectedIndexChanged="rblFlow_SelectedIndexChanged"
                        RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="0">审批流程</asp:ListItem>
                        <asp:ListItem Value="1">简易流程</asp:ListItem>
                        <asp:ListItem Value="2">上传流程</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:CheckBox ID="cbShowType" runat="server" Text="办事大厅是否显示各办理人员" />
                    <span style="color: Red">
                        <asp:Label ID="lblShow" runat="server" Text="(勾选：显示；不勾选：不显示)"></asp:Label></span>
                        <asp:Label ID="lblShow1" runat="server" Text="请选择流程图："></asp:Label><asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:Button ID="BtnUpLoad" runat="server" Text="上传" OnClick="BtnUpLoad_Click" />
                </td>
                <td align="right">
                    <asp:Button ID="btnSave" CssClass="input" runat="server" Text="保存" OnClick="btnSave_Click" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
            <tr align="center">
                <td colspan="2">
                    <iframe name="WorkFlow" src='<% =ShowWorkFlow()%>' width="790px" height="500px" frameborder="0"
                        scrolling="no"></iframe>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
